﻿<UserControl x:Class="JasRibbonApplicatie.UserControls.MailItemControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="50" d:DesignWidth="400">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="Auto"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Image Grid.Row="0" Grid.Column="0" Source="/JasRibbonApplicatie;component/Images/mail/orig/Mail.Unread.png" Stretch="None" Margin="2" Name="readImage" />
        <Image Grid.Row="1" Grid.Column="0" Source="/JasRibbonApplicatie;component/Images/mail/orig/fg0.png" Stretch="None" Margin="2" Name="flagImage" MouseUp="flagImage_MouseUp" />
        <TextBlock Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="2" Name="subjectTextBlock" Text="RE : Dit is een onderwerp" VerticalAlignment="Center" FontWeight="Bold" Margin="2" />
        <TextBlock Grid.Row="1" Grid.Column="1" Name="fromTextBlock" Text="Johan Vandeplas" VerticalAlignment="Center" Margin="2" />
        <TextBlock Grid.Row="1" Grid.Column="2" Name="dateTextBlock" Text="10/10/2010 10:10" VerticalAlignment="Center" Margin="2" />
    </Grid>
</UserControl>
